﻿@{
    ViewBag.Title = "NewDelivery";
    Layout = "~/Areas/Admin/Views/Shared/_Admin.cshtml";
}
<div class="page-header position-relative">
    <h1>Quản lí phiếu nhập kho
			<small>
                <i class="icon-double-angle-right"></i>
                Phiếu Nhập Kho
            </small>
    </h1>
</div>
<!--/.page-header-->
<div class="row-fluid">
    <div class="span12">
        <!--PAGE CONTENT BEGINS-->
        <form id="formSubmit" action="~/Admin/AdminWareHouse/Index" method="post">
            <div class="form-horizontal">
                <div class="control-group">
                    <label class="control-label" for="txtDeliveryId">Mã phiếu nhập</label>

                    <div class="controls">
                        <input type="text" id="txtDeliveryId" placeholder="01" />
                    </div>
                </div>
               
                 <div class="control-group">
                    <label class="control-label" for="txtDate">Ngày nhập </label>

                    <div class="controls">
                        <input type="text" id="txtDate" placeholder="10-1-2014" />
                        </div>
                </div>

                <div class="control-group">                    
                    <label class="control-label" for="drlProvider">Nhà cunng cấp</label>
                    <div class="controls">
                        <select id="drlProvider">
                            <option value="1">Nguyễn Kim</option>
                            <option value="2">Sao Việt</option>
                            <option value="3">Phan Huy</option>
                            <option value="4">Thiên Hòa</option>
                            <option value="5">Khác..</option>
                        </select>
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label" for="txtProduct">Sản phẩm </label>

                    <div class="controls">
                        <input type="text" id="txtProduct" placeholder="SP01" />                        
                    </div>
                  
                </div>
                    <div class="control-group">
                    <label class="control-label" for="txtPrice">Giá Nhập </label>

                    <div class="controls">
                        <input type="text" id="txtPrice" placeholder="$500" />                        
                    </div>
                  
                </div>
                <div class="control-group">
                    @*<label class="control-label" for="form-input-readonly">Readonly field</label>*@
                    <label class="control-label" for="Number">Số lượng</label>
                    <div class="controls">
                        <select id="Number">
                            <option value="1">1</option>
                            <option value="2">2</option>
                            <option value="3">3</option>
                            <option value="4">4</option>
                            <option value="5">...</option>
                        </select>
                    </div>
                </div>

               <div class="control-group">
                    <label class="control-label" for="txtDeliveryId">Ghi chú</label>

                    <div class="controls">
                        <input type="text" id="txtNote" />
                    </div>
                </div>

               

            </div>

            <!----------->
          

            <input type="hidden" name="DatTenGiDo" />
            <!--------->

            <script>
                $(function () {
                    $(".wysiwyg-editor").ace_wysiwyg({
                        speech_button: false
                    });

                    //jquery copy inner html tu editor -> input type="hidden"
                    $("#formSubmit").submit(function () {
                        $('[name="DatTenGiDo"]').val($(".wysiwyg-editor").html());
                    });
                });
            </script>
            <div class="space-4"></div>

            <div class="form-actions">
                <button class="btn btn-info" type="submit">
                    <i class="icon-ok bigger-110"></i>
                    Lưu
                </button>
                &nbsp; &nbsp; &nbsp;

                    <button class="btn" type="reset">
                        <i class="icon-undo bigger-110"></i>
                        Xóa
                    </button>
            </div>
            <!--/row-->
        </form>

        <!-- start modal -->

        <div id="modal-form" class="modal hide" tabindex="-1">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">&times;</button>
                <h4 class="blue bigger">Please fill the following form fields</h4>
            </div>

            <div class="modal-body overflow-visible">
                <div class="row-fluid">
                    <div class="span5">
                        <div class="space"></div>

                        <input type="file" />
                    </div>

                    <div class="vspace"></div>
                </div>
            </div>

            <div class="modal-footer">
                <button class="btn btn-small" data-dismiss="modal">
                    <i class="icon-remove"></i>
                    Cancel
                </button>

                <button class="btn btn-small btn-primary">
                    <i class="icon-ok"></i>
                    Save
                </button>
            </div>
        </div>
        <!-- end modal -->
        <!--PAGE CONTENT ENDS-->
    </div>
    <!--/.span-->
</div>
<!--/.row-fluid-->



<!--page specific plugin scripts-->
@*<script src="~/Content/assets/js/markdown/markdown.js"></script>
<script src="~/Content/assets/js/markdown/bootstrap-markdown.js"></script>
<script src="~/Content/assets/js/jquery.hotkeys.js"></script>
<script src="~/Content/assets/js/bootstrap-wysiwyg.js"></script>
<script src="~/Content/assets/js/bootbox.js"></script>*@

@section scripts{
    <script src="~/Content/assets/js/markdown/markdown.js"></script>
    <script src="~/Content/assets/js/markdown/bootstrap-markdown.js"></script>
    <script src="~/Content/assets/js/jquery.hotkeys.js"></script>
    <script src="~/Content/assets/js/bootstrap-wysiwyg.js"></script>
    <script src="~/Content/assets/js/bootbox.js"></script>
}
